package model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the t_antrian database table.
 * 
 */
@Entity
@Table(name="t_antrian")
public class TAntrian implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private String idOperasi;
	private Date masaBerlaku;
	private int noAntrian;

	public TAntrian() {
	}


	@Id
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}


	@Column(name="id_operasi")
	public String getIdOperasi() {
		return this.idOperasi;
	}

	public void setIdOperasi(String idOperasi) {
		this.idOperasi = idOperasi;
	}


	@Temporal(TemporalType.DATE)
	@Column(name="masa_berlaku")
	public Date getMasaBerlaku() {
		return this.masaBerlaku;
	}

	public void setMasaBerlaku(Date masaBerlaku) {
		this.masaBerlaku = masaBerlaku;
	}


	@Column(name="no_antrian")
	public int getNoAntrian() {
		return this.noAntrian;
	}

	public void setNoAntrian(int noAntrian) {
		this.noAntrian = noAntrian;
	}

}